PROJECT(ssl)

cmake_minimum_required(VERSION 3.5 FATAL_ERROR)

add_executable(server server.c)
add_executable(client client.c)

find_package(OpenSSL REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})
target_link_libraries(server ${OPENSSL_LIBRARIES})
target_link_libraries(client ${OPENSSL_LIBRARIES})
